Skip to content

Fix epoch attributes with wrong type - #3581

Merged
leowerneck merged 2 commits into
IMAP-Science-Operations-Center:devfrom
leowerneck:3579-bug---epoch-attributes-with-wrong-type
Oct 21, 2026
Merged

leowerneck merged 2 commits into
IMAP-Science-Operations-Center:devfrom
leowerneck:3579-bug---epoch-attributes-with-wrong-type

Conversation

@leowerneck

Copy link
Copy Markdown
Contributor

Change Summary

Closes #3579.

Overview

This PR bumps cdflib to version 1.3.15, required to fix #3579, as described in lasp/cdflib#348 and lasp/cdflib#349.

File changes

  • pyproject.toml: bumped CDF lib to 1.3.15.
  • poetry.lock: bumped CDF lib to 1.3.15.
  • imap_processing/tests/cdf/test_utils.py: add regression test.

Testing

Running:

poetry sync --extras test
poetry run pytest -n auto -m "not external_kernel and not external_test_data"

results in 1841 passed tests and no failures.

@leowerneck leowerneck self-assigned this Oct 21, 2026
@leowerneck
leowerneck requested a balanced review from Copilot October 21, 2026 14:05
@leowerneck leowerneck added bug Something isn't working CDF Related to CDF files labels Oct 21, 2026
@leowerneck leowerneck added Ins: CoDICE Related to the CoDICE instrument Ins: SWE Related to the SWE instrument Ins: MAG Related to the MAG instrument Ins: IDEX Related to the IDEX instrument Ins: GLOWS Related to the GLOWS instrument Data Release 2 Deadline: September 1, 2026 labels Oct 21, 2026
@leowerneck leowerneck added this to IMAP Oct 21, 2026
@leowerneck leowerneck moved this to PR Open in IMAP Oct 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The upstream release confirms the fix, and the regression test covers both required attribute types with no unresolved findings.

No open issues 🎉

What changed in this PR

Fixes #3579 by adopting the upstream correction for epoch attribute types in generated CDF products.

Changes:

  • Raises the minimum and locked cdflib version to 1.3.15.
  • Adds regression coverage confirming epoch attributes use TT2000 while epoch-delta attributes remain INT8.
File Description
pyproject.toml Requires cdflib>=1.3.15.
poetry.lock Updates the locked version, package hashes, and content hash.
imap_processing/​tests/​cdf/​test_utils.py Checks written epoch and epoch-delta attribute types.

Review effort: Balanced

@leowerneck
leowerneck merged commit b1ae067 into IMAP-Science-Operations-Center:dev Oct 21, 2026
22 checks passed
@leowerneck
leowerneck deleted the 3579-bug---epoch-attributes-with-wrong-type branch October 21, 2026 14:44
@github-project-automation github-project-automation Bot moved this from PR Open to Done in IMAP Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CDF Related to CDF files Data Release 2 Deadline: September 1, 2026 Ins: CoDICE Related to the CoDICE instrument Ins: GLOWS Related to the GLOWS instrument Ins: IDEX Related to the IDEX instrument Ins: MAG Related to the MAG instrument Ins: SWE Related to the SWE instrument

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

BUG - EPOCH attributes with wrong type

3 participants